package cn.four.hqServer.modules.userregister.utils;

public class GetSalt {
    public static String getSalt(){
        String s = "qwertyuiop" +
                "asdfghjklz" +
                "xcvbnm1234" +
                "567890";
        String salt="";
        for (int i = 0; i < 10; i++) {
            int j = (int) (Math.random() * 36);
            salt = salt + s.substring(j, j+1);
        }
        return salt;
    }
}
